#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include <gnome.h>

#include "callbacks.h"
#include "interface.h"
#include "support.h"




void
on_open_activate                       (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_file_activate                       (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{
GtkWidget *MainWindow;
GtkWidget *dialog;
GtkWidget *message_dialog;
	gchar *gfilename;
MainWindow = gtk_widget_get_toplevel (GTK_WIDGET (menuitem));
dialog = gtk_file_chooser_dialog_new ("Open File",
				      MainWindow,
				      GTK_FILE_CHOOSER_ACTION_OPEN,
				      GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
				      GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
				      NULL);

if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
  {
    
	
    gfilename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));

    //open_file (filename);
    //g_free (filename);
  }

gtk_widget_destroy (dialog);
  gint MplayerWindow;
  MplayerWindow = get_player_window();
g_sprintf(gfilename,"0x%x",MplayerWindow);
  message_dialog = gtk_message_dialog_new (MainWindow,
                                  GTK_DIALOG_DESTROY_WITH_PARENT,
                                  GTK_MESSAGE_ERROR,
                                  GTK_BUTTONS_CLOSE,
                                  gfilename
                                  );
 gtk_dialog_run (GTK_DIALOG (message_dialog));
 gtk_widget_destroy (message_dialog);
}


void
on_clear_activate                      (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_folder_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_playlist1_activate                  (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_dvdplayer_activate                  (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_dvdfolder_activate                  (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_vcd1_activate                       (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_url1_activate                       (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_close1_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_exit1_activate                      (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{
gtk_main_quit();
}


void
on_play2_activate                      (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_pause1_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_stop1_activate                      (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_image_par_image1_activate           (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on__10_secondes1_activate              (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on__1_minute1_activate                 (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on___10_minutes1_activate              (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_item13_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_item14_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_item15_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_item16_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_item17_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_r__p__ter1_activate                 (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_item18_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_plein___cran1_activate              (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_mode_compact1_activate              (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille1_activate                    (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille_50__activate                 (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille_75__activate                 (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille_100__activate                (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille_125__activate                (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille_150__activate                (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille_175__activate                (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille_200__activate                (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille_300__activate                (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_taille_400__activate                (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_pan___scan1_activate                (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_aspect_ratio1_activate              (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_d__sentrelacement1_activate         (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_filtres1_activate                   (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_d__bruiter1_activate                (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_egaliseur1_activate                 (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_capture_d___cran1_activate          (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_rester_au_premier_plan1_activate    (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_audio1_activate                     (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_piste_activate                      (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_extrast__r__o1_activate             (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_karaoke1_activate                   (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_d__faut1_activate                   (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_st__r__o1_activate                  (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_40_surround1_activate               (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_51_surround1_activate               (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_sous_titres1_activate               (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_naviguer1_activate                  (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on_options1_activate                   (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}


void
on____propos1_activate                 (GtkMenuItem     *menuitem,
                                        gpointer         user_data)
{

}

